# -*- coding: utf-8 -*-

import datetime


def get_time_str():
    now = datetime.datetime.now()
    time_str = now.strftime("%Y/%m/%d %H:%M:%S")
    return time_str


def print_t(log):
    time_str = get_time_str()
    content = u"[{}] {}".format(time_str, log)
    print(content)


def print_err(log):
    print("@" * 64 + "\n" + str(log) + "\n" + "@" * 64)
